find_package(LAPACK)

if(LAPACK_FOUND)
    include_directories(lapack)
else(LAPACK_FOUND)
    message(FATAL ERROR "LAPACK library not found.")
endif(LAPACK_FOUND)